package com.mediocre;

//import com.spring4all.swagger.EnableSwagger2Doc;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
//import org.springframework.boot.autoconfigure.domain.EntityScan;
//import org.springframework.cache.annotation.EnableCaching;
//import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import springfox.documentation.oas.annotations.EnableOpenApi;
//import springfox.documentation.swagger2.annotations.EnableSwagger2;

//@EnableSwagger2   // for swagger 2
//@EnableSwagger2Doc  // for swagger 2
@EnableOpenApi  // for swagger 3
//@EnableTransactionManagement
//@EnableCaching
@SpringBootApplication(scanBasePackages = "com.mediocre")
//@EntityScan(basePackages = {"com.mediocre.entity"})
//@EnableScheduling
public class Application {
    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }
}
